<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

// Create shortcuts to some parameters.
$params		= $this->item->params;
$images = json_decode($this->item->images);
$metadata = json_decode($this->item->metadata);
$urls = json_decode($this->item->urls);
$canEdit	= $this->item->params->get('access-edit');
$user		= JFactory::getUser();

//echo $_GET["Itemid"]."ddddd";
//var_dump($metadata);

?>



<h1>
	<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>





<?php if($_GET["Itemid"] == "111") { ?>




		
    		<div style="float:left">
    			<h3><?php echo $this->escape($this->item->title); ?></h3>
    			<div class="portfolio_single_excerpt"><p><?php echo $metadata->author; ?></p>
</div>
    		</div>
    	
    		<div class="portfolio_single_navi">
    			<a href="#" rel="next" onclick="$j('.pagenav-next a').trigger('click')">→</a>
			<a href="#" rel="prev" onclick="$j('.pagenav-prev a').trigger('click')">←</a>    		</div>
    	
    			<img src="<?php echo $images->image_fulltext ?>" alt="" class="portfolio_single_img img_shadow"/>
			    		


    	<br class="clear"/><br /><div class="two_third">
<h4>Project Description</h4>
<?php echo $this->item->fulltext; ?>
</div>
<div class="one_third last">
<h4>Project Detail</h4>
<?php echo $this->item->introtext; ?>
<br />
<a class="button small left" onclick="window.open('<?php echo $metadata->xreference; ?>', '_self')">Launch Project</a>
</div>
<p><br class="clear"/></p>
<br /><br />

<?php } ?>





<?php if($_GET["Itemid"] != "111") { ?>


<!-- Begin each blog post -->
						<div id="post-6658" class="post-6658 post type-post status-publish format-standard hentry category-general category-tutorials category-web-design-news category-website-design tag-coding tag-development tag-software tag-web-design-2" class="post_wrapper">
						
								
						    	<div class="post_img_wrapper">
						    		<div class="post_date">
									   <div class="date"><?php echo date("d", strtotime($this->item->created)) ?></div>
								    <div class="month"><?php echo date("M", strtotime($this->item->created)) ?></div>
								    <div class="year"><?php echo date("Y", strtotime($this->item->created)) ?></div>
									</div>
							    	<img src="<?php echo $images->image_fulltext ?>" alt=""/>
							    </div>
						    
						    						    
						    <br class="clear"/>
						    
						    <div class="post_header_wrapper">
						    	<div class="post_header">
						    		<h3><a href="<?php echo $this->item->readmore_link ?>" title="<?php echo $this->escape($this->item->title); ?>">
								<?php echo $this->escape($this->item->title); ?>							
						    			</a>
						    		</h3>
						    		<div class="post_detail">
						    			<div class="post_detail_item">
										    <?php echo date("d M Y", strtotime($this->item->created)) ?>&nbsp;/
										</div>
									    <div class="post_detail_item">
										    By <?php echo $this->item->author ?>&nbsp;
									    </div>
									    
									</div>
						    	</div>
						    </div>
						    
						    <div class="post_excerpt">
							
						    <?php echo $this->item->introtext; ?>
							    
						    </div>
						    
						    <br class="clear"/>
						    
						   
						    	
						    
						    	<br class="clear"/><div class="thickline"></div><br class="clear"/>
						    
							 
							    <br class="clear"/>
							    
															
						
						</div>
						
<!-- End each blog post -->

<?php } ?>







<div style="display: none"><?php echo $this->item->pagination; ?></div>

<?php echo $this->item->event->afterDisplayContent; ?>

